package com.aistar.service;

import com.aistar.pojo.User;
import com.aistar.util.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface UserService {
    public ResponseResult reg(User user, String code, HttpSession session);
    public ResponseResult login(User user, String code, HttpSession session, HttpServletRequest request);
    public ResponseResult resetPassword(User user, String code,HttpSession session);
}
